adapting smooth curves