allow arbitary length foldPrefix
Merge branch 'fix-code-segmentation'
tiny bugfix for last change
Merge branch 'fix-code-segmentation'