fixing bug in treatment of shape? uncertainties