Implemented hold reduction algorithm