Algorithm modification and README