map boundary validation