improved arc so that it will fill the space and preserves the aspect ratio