Slight optimization of laser checking

Now only compares within a reasonable distance. Further optimization
definitely possible: e.g. don't compare multiple distances to find shortest as
this is unnecessary.