updated MonetDB extension with optimized version