cut the length