adds inheritance of parallel collection to a class that is parallelized