Add epsilon for hit checks in the shake and bake sampling