Remov extra prime factors work