use static vectors in lambdas