improve cramer approx