Added constraints to the post length