removed redundant arguments in next_restricted_part -KL