Statistics for Prioritized Obstacle Avoidance in Motion Planning of Autonomous Vehicles