fixed bug with few numbers in one. It is because of tabulation.