int j = BRICKS_IN_BASE - i + 1;