nonzero epsilon bug found by Qiming Liu