UPDATED: set tidyup tolerance to 1e-12 since that is our new cutoff