Layering was illegal before there was HFT.
Also, everyone who has any expertise in the way markets and especially electronic markets work, thinks that "Flash Boys" is a terrible book on the topic. You literally are worse off in understanding for reading it.
Try "Dark Pools". Still sensational and occasionally wrong, but at least it gets close.