Fix: memory leak on collecting points