Fixing scaffolding problem with length parameters (closes issue #11)