Added configuration option for compact folding.