correct a comment
add restrictPoints parameter for ladderGenerator