This work is derived directly from the work of John Esmet and Paul Khuong ({jesmet,pkhuong}@appnexus.com) and PR34.