bulletSpaceCorrect in one function using lambdas