flat domains