improve buffered sigmoid