Borehole design