Changed modification and size reduction order.