AMS Ecal3D reconstrcution