On the factorisation of polynomials in a finite number of steps