added aspect ratio constraints