Implementing span option for simplify().