dynamically determine relooper heap size using RELOOPER_BUFFER_SIZE