trim redundant bits of example