support output width scaling