Compactify timing code by figuring out who is black first