Enhancing lifetime and security of PCM-based main memory with start-gap wear leveling | Synapse