Optimize further ram

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