fix bugs; add paralellism with openmp; apply sent. limit to token mapping