should probably explain a bit more what is happening e.g. for overlap 0.5 and that it is between 0.0 and 1.