setting velocity grid