adjusted epsilon for better recognizing 0s and 1s