using Extents function for bmin bmax limits now