Updating pointer nearby detection for Charm bug fixing