Modify computation of multiplication table