RRW STR code

fixes DTRxSTR crossings; removes some redundant code (more to be done
later)