finished rmt.findtFactor()