multiplication using lattice method