minimize result length