s1543: fix range parameter order, add to recursive call