Shortening embedded curves