Return of chnsPyramid is now a std::vector (no more memory leak there).