BiasStaircase modification code