Replace arbitrary motion_buffer by speed*max(lags)