Optimization in random-table. resultr-check.sh added