rewrote generate cross streets script with create table as and improved performance