Fix bug in even-share