set demo to algorithm v2 with position constraints