Efficient data redistribution algorithms from irregular to block cyclic data distribution