Using where() statements instead of while-loops
A bit sloopy, but made the program check and rescan at different radii