calc-trajectory returns cds insteads of pos