Changing how 0 is handled (less wasted ops)
Merge pull request #20 from avoidwork/edge

Minor change