h / hacks to pack efficiently