Minor optimization

-changed int to short int in dummy variables to reduce size