I think it should be ``assert(new_position < m_size)`` e.g. if ``m_size`` is ``1`` the only position valid is ``0``, right?