Optimize your frontends adding data to stacks for later processing