Specialize and avoid EdgePartition.size