How to configure stacking function when it cannot be set up