Zaslat SMS: Convexity and graph theory