added MonetDB support for gen_optimized

PA generator now much faster