add min & max property in getXY, getStackXY methods