fixed small error in SMP calculation