Remove redundant variable declarations, minor optimization in R0 calculation.