almost done with sod calc