compiling improvements