Series hw upload.

this is going to grow much much more expensive over time.  Is there a more efficient algorithm you can find?