Allow the max entity size to be dynamically modified