oppsied on the bounds of the matrix