Implementation of multi-bounds matrix added