GeneralizedFoldBox_v2.3