better performance of pack_command and send_packed_command when dealing with large values