transform coordiantes to fit inside the world