Correction for very short input signals

This should correctly solve the issue with very short input signals for
time method.