Added more stability checks to uniformization code.