Return x % size or x % size - size where x and size are np.array of same shape
x % size
x % size - size
x
size