A small change on the feast algorithm