improve `changemem` readability