Front running based on inside info (like holding/knowing big customer order) is illegal. Computers guess that there's big order. Now, the controversy comes when exchanges allow some order types that may be used to extract info.