fixed IsPairLike
memresolv for geometry
working on memresolv for geometry