As I understand, you cann't use treaty if you study in US for many years. That treaty(H1b) is for people from outside US.