improve minimize WIP