Genetic algorithms for cutting stock problems : with and without contiguity