Allow setting the number of rows per layer so that the debug areas are less resource intensive