Housing Prefabrication and Resource Optimization