Improve stair name detection