improved efficiency of xTabulate significantly