calculate boolarray once per loop