Updated to meet actual algorithm
Signed-off-by: radbradd <rentedouthero@gmail.com>