add a stack for analyzing blocks