New further optimized flattener. Superfast !