An algorithm for the evaluation of active thrust for backfill with irregular profile