Modeling layered structure in deep Pacific circulation