add bit tricks extended