returns parent list for each shared node