refactor memory allocation a bit, should have done that from the start. Oh well.
refactor memory allocation a bit, should have done that from the start. Oh well.

ascheepe/utils,ascheepe/utils,ascheepe/utils,ascheepe/utils,ascheepe/utils,ascheepe/utils