try to add stack variables, sample1~4 pass, 5 fails
add flag, sample 5 still fails
run script
move manipulation of flags out of HoistRegion, add OR operator to flags, still fails sample5
verion 1.0