add options to close array boundary check in Bamboo