Change ECPP to factor all with backtracking