Check the size of required values with the ones given