Make the stack work with floats