Robust map building for robot navigation in dynamic environments