fixed some issues with tile sizing. DOES NOT COMPILE