Split big procedures into smaller ones.