Tuning multiplication loop