EdgePartition.size should be val