Add entropy verification to Compile()