replaced hard coded dimension with variable
makeIntOdd now working correctly