[Parser] Put the framework for setting different inner loop bounds