supports logging, removed gap parameter
change to use improve trajectory with different descriptors