fixing bug in level_map::lower_bound