Add padding to ipid and offset.