Merge "Perform the minimal dimension restrictions on leaf Task" into sc-v2-dev