export function step (edge: number, x: number): number { return x < edge ? 0 : 1 }