Use step function rather than points