debris calculation