Optimize further MOSES RAM

Optimize MOSES RAM, especially table loading (only dense table, not sparse).