local variables referenced from an inner class must be final or effectively final
You keep updating both high and low inside the run() method, making them by definition not effectively final. Since you don’t need them outside the run() method anyway, just move the two lines inside.