Correct bug in extension.
Non working version of surface extraction.