Rectangular repetitions implemented