pay level calculation