Spring Nature Custom size generator