inverse baseX and baseY