Working with large number of points and any amount of constraints, need to sort out window