change ContactPairPoint from class to struct to avoid garbage