improve masked addr overlap checking