Fixed the send counts and receive counts issue. Now all elements should be interchanged without problem.