Always use .distanceSquared instead of .distance where possible