Fixes size generation