legend max size