Mortgage rates stay flat amid contained inflation