problem is linear fem and floating point errors.