provide cyclic write to memory block