* Moved the holes generation code