ensure emscripten heap is at least 16K