don't make space leak by always (++) to right side, use (:) instead and reverse at the end