change MAX_DATA and MAX_ROWS from constant expressions to members of struct