cutting desired length attaching