Coding approaches for increasing reliability and energy efficiency of​ 3D technologies