optimize sight hit test