Calculating bulks of earth works