topcoder: added BridgeCrossing