made new calc of mergedbins