Not much achieved trying to optimize algo performance