Added variable staircase function.