Adaptive thinning - currently invalid - needs to be fixed