Maybe not hard-code this tolerance, but make it a key-word argument, with some reasonable default?