- fixed bug with wrong calculation of the bands