bound to outlayer that leaks less memory
version number modified