modifying hole occupance algo