Removed distance calculation