Cleanup mirrors from bindings and lookup environment (for #1150)
Now add a clean binding caching to recover the initial speed