added 0-check to VMeasure homogenity