attempt to fix precision bug: stupid heuristic that might be wrong