using injected indentUnit for calculating indent from array