made min points for a surfel a template argument for surfel