allow arbitary length foldPrefix