add combine_tiles method