external solver matio -> bson