add UidPartition calculating