Settling jail suit will cost $1.8M