reduce sketch size