change m_limit to point_count_t and remove template types, which are inferred