implement runPackingIncremental function