Made the brick array 2D instead.