speed up size calculation in backgorunds
fix padding of bg rows