bug fix and added different beaver step sizes