turn over in one’s mind

See: consider