finally switch to mean for gaussian segments