State hires consultant to assess prison system