A C# implementation of Brian Smits algorithm (TODO)