Working bitshift array