Constant Generator with value boxing