Make generateMax and generateBetween produce uniform output
re-style