Better fraction generation