change arg syntax for chunks to be total size, internally is capacity
adding in more chunk logic and cleanup