Discretized CCR algebras