Add middle and width to partition

add middle and width to partition
add value to NumRange