The longitudinal distribution of low frequency hydrodynamic derivatives for lateral motions in shallow water