Glacier volume estimation as an ill-posed inversion