modified special algorithm checks to fix significant digit problem