fixed regionGrow compilation issue