Fix bug in Halves