set the max size to 512