[improve] reduce calc hash for scope