Started to debug IPG construction code