Finished performance tuning. Creative, but still only half as fast as Dr. Debray's