more algo optimization

added x11 compiler otions to more algo's