A query processing engine for Ad-Hoc OLAP queries