rewrite the disambiguation map building

instead of doing everything and save in one map, this is done by 1000 articles each time and we ignore the earlier articles.