Casing influence while measuring in situ reservoir compaction