Fixed margin issue with added algorithms