Infinity pools are expensive and require extensive structural, mechanical, and architectural detailing.[citation needed] Since they are often built in precarious locations, sound structural engineering is paramount. The high cost of these pools often arises from the elaborate foundation systems that anchor them to hillsides.[citation needed]