limit maximun if blocks and code generation bug is fixed