cant you just store maxBytes as a byte size value to prevent that string concatenation?