Reconstruction Software for High Multiplicity Events in GEM Detectors