how to piece curves