new class with altitude difference and pileHeight