ApproxFTL: On the performance and lifetime improvement of 3D NAND flash based SSDs