flow functions take vectors of lattice points