[ update ] use largest dimension to guess scaling factor