Compactor code for boolean written.