overlap size computation fixed- log added