Added max pixel validations