Energy-efficient routing in the proximity of a complicated hole in wireless sensor networks