add Template Meta Programming version of tiling2