Add binary steps calculation