matlab crash while pre-reconstruction