fixed two stack calc