make defaultEpsilon a const in newStream