Feasibility study of a red brick factory