calculate distribution of tx sizes