Refined matching a bit