The Dai bamboo buildings in Xishuangbanna use square columns to raise their houses to prevent moisture and mosquito blood harassment. The reason why square columns are used instead of circular columns is to prevent snakes from climbing into the bamboo buildings.
The assumption of the above statement is likely to be that snakes cannot crawl around square posts.