changed debug output to match expression_boundaries_simplify
want to change abstracted routines to return pointers to constant values
rather than filling supplied arrays