Fixed bug caused by long-vector limitations in parallel.
merge fix