Use tconc instead of pile and reverse

This makes some functions including `map` and `append` faster