doc for cascade_factory_2d