This is a stack contains float numbers which could get mean/mode/sum in O(1) time complexity.