Modified the indent function so to use points instead of lines, that are a little faster
then line based functions.