The multiplication of the `meanPoint` components are the same for each iteration of the loop. You can pull those outside.