move nonconstant boilerplate out of low level heap threaded
move nonconstant boilerplate out of low level heap threaded

fredrik-johansson/flint2,wbhart/flint2,wbhart/flint2,wbhart/flint2,fredrik-johansson/flint2,fredrik-johansson/flint2