Add a function that can build an EdgePartition faster.

If user can make sure every edge add by the order, use this function to build an EdgePartition will be faster.