their dwellings were beehive-shaped huts of stiff leaf and the villages - there were several in the neighbourhood - were always built beside rivers for warmth and well upstream towards the walls of the handramit where the water was hottest .