patch for JAL-1449 - continuance of JAL-1364 - check bounds of gapMap - not the VIENN...