added check for inplace_increment
added imports for compiled version