added lowest value in stack
fixed merges