Fixed wrong unrolling times bug, calced one unrolling less than needed.