Adding support for independent half-size of input with respect to the number of steps