Changed cr() impl to allow for setting different ratios