flat memory model is following