use quality scaling