@changhiskhan it looks like neither start or stop is actually used for anything in this function (according to pyflakes and searching). Can these calculations be removed? (Instead, `st` and `ed`, where you'd think they'd be used, just go back to using dmin and dmax.  Otherwise, could remove these try/except statements.