Improving the efficiency of finite-time memory erasure with potential barrier shaping | Synapse