Semiconductor memory device having high electrical performance and mask and photolithography friendliness