how does stack influence work