added negative rolling for bitarrays