Add nodc option
Change default value of maxshift to 0 for better performance
Add baseline resolution fitting