Removed MAX_SIZE and added const pst pointer to const