Reducing raycast distance