Numpy Variable Length Tube