Framework for designing a flexible cellular assembly system