ENH: bring back option to have uniform density at surface

3 jobs for master