pull length up
refactor to use each-with-index
chicken can't handle the ulong64 so use u32 vector