Updated block compilation to account for block exercise priority