added aspect ratio preserving normalizer