For clarity, I think it'd be preferable to break the collect, calculate, and broadcast into their own statements. Otherwise, this is a dense 8 line section of code.