fixed reconstruction error