tests for underflow
if(!empty(ps))