Added secondary crossing algo