Switching to thrust's tuple_cat (will be merged in pull request #488)