FIX bounds calculation