shouldn't that be !(k-1)? Or am I missing something about the architecture?
If you have k=2 stream managers you have 1 connection, not 4 . Even if the connections weren't bidirectional you'd have 2 connections.