mapping when folding would be necessary