improve usage, add -m for minimum id set