Finetune slab generation.