Added code for limiting spotting range. Fixes #2.