changed hollowing algorithm