Fixed shared liberties with edge, changed group implementation, made groups share border values.