box stack modified