axis aligned. trying to get template matching working