fixed inaccurate limited_factorize