Optimize packets for consecutive writes