A SQL implementation of color portals from SnowGears, a total rework