sprite quadifier refactoring