Case-based preliminary building design