Malloc

Memory controll change from Ruby to myself.
And this is fix then to fast and to small memory.