Speed up evaluation by binding vector size to variable