Added seg reduce dev