fixed openmp bug (tile_size has to be private)