Added support for rolling of bars of a user defined duration.