added parameter for  calculateBin()
Merge branch 'feature-ciruclate' into develop