Constant memory implementation