add two types of feature boxes support:
 - (left, top, width, height)
 - (left, top, right, bottom)