evaluating nesting forever and repeat bricks via stack