Stable version. bitmask now a real BITmask insted of byte