fix down-sizing in resize operation
use parallel sorting for DeallocatingVector
remove unneede include