Implementation of smeared crack approach in rigid block and spring modeling of reinforced concrete