reference size is now aspect ratio-dependent