Limit significand to 17 digits for fast path

Should fix gcc debug error in tranvis. May need further refactoring.