Network-coded multihop multicast: topology and encoding complexity