Are you thinking about constraints for the positions or for the colors?
Reply on news.ycombinator.com