improved multiplication with 40 routine