fixed Marchingcube and forced usage of int