Adds support for xMin and xMax