Code within the method was using @param start_time rather than start, which is a modified value required to generate the correct results. This comment also contains some logical reordering, optimization and commenting on this rather complex method.
f322c4ded7