Problem with std::bad_allocI made function to extract the pilygons and similar stuf, but when I execute it it pus me bad alloc....