add some editing algorithms from local library.