Optimal flow working with Gaussian noise