Super class switching

size_t is unsinged so the size diff was alway 0 or greater 0.