David Turner of OTP said he observed some problems in the Java port of GS: http://opentripplanner.org/changeset/135 http://opentripplanner.org/changeset/141 Worth looking at for their implications to the C code base.