number of segments was hardcoded as 400, use approxcount instead + one weird assert
number of segments was hardcoded as 400, use approxcount instead + one weird assert

Alexpux/SmallChange,Alexpux/SmallChange,Alexpux/SmallChange,Alexpux/SmallChange