A contracting firm which failed to install beams or barriers at the edges of a spoil heap to prevent tipper wagons getting close to high edges has been fined £45,000 after a workplace transport fatality.