new bars display algorithm