Changed transfer window calc to accept window which doesn't pass TDC