Simplified range finding as Richard suggested