Compiled Ivan's code and current IDP code