modified stlparser to use a cleaner object representation