Renamed flatSize to shallowSize.