How to Plan Evacuation Routes for Safer Buildings