Supporting irregular data distributions for heterogeneous clusters