Flat door configurator with size design and constraints