improve precision when computing some errors from variations