We are supposed to use the mid points, so a half is added to x and y