fix crash in model server when you attempt to create an unreasonably small model