Homotopy variation and nongeneric pencils