added RefinementStep(), prepared refinement handling