Working division alg