some bugfixes
changed the parameters for the estimated diameter