Initial element 0 where necessary