Flooding wreaks havoc in KP, Balochistan