small reordering