fixing naive integer mul algo