Make MAX_WIDTH and MAX_HEIGHT static