more flexible allocation
some fixes
more additions
more assembly fixes