added pseudoCode for cabinet placement