max length to tables