Outlining basic blocks for the Scheme language wrapper