Might want to consider a zero threshold here. We'll have to see how it's used in other algorithm code.