update case generation script for slice num setting