Fixed SetSize bug

Solution: Add tons of code that will be useful later