removes unnecessary usage of parallel collections.