use staircase from reference change floor to refernece