keep improving chap04, pull out the 3d reconstruction part