Simplify connected pawn bonus formula