A study on the influence of the particle packing fraction on the performance of a multilevel contact detection algorithm