Added row and column boundary