Changed building variables to an int array