resize the distance schematics