fixed material level calculation