Old code used the constructor revert method to check gas used. This ran into the limitation that Geth limits the initCode supplied on contract creation to 48 KiB which is less than what it uses for its transaction limit, 128 KiB.
New code uses state overrides instead, which is the preferred method as it makes the contracts easier to reason about.
Added a check at the RPC layer for UO size
Added a setting to the RPC server for max body size as max transaction size * 2
Proposed Changes