A pre-design and cost estimation tool for mini-grid construction in small communities