double increase of numSlots for non-static methods fixed.