Stairs with ramps

Just a question
did you look at this definition ? Yours seem a bit long.