Glacier shape predicts risk of thinning: study