RangeFinder templated