* Fixed int/bint type error in beam
* Think I fixed memory error