modified cull pts func, added unit_tests