Text this: Fast method to find conflicts in optical multistage interconnection networks