It's better to already pass max sizes in bytes here. KBs and MBs are a convenience to user when specifying them from the command line, but once they are in the system, it's best to convert those to bytes right away. We may allow the user to specify values in different units in the future, and any code already dealing with bytes would be untouched by that.