Rename variables
Allow all possible nids in collectcchs
Return ndarray, not memoryview slice