Renamed 'h' in cell struct to 'width' and renamed 'h' and 'ih' in the space struct to 'width' and 'iwidth'.