Removed hardcoded length requirements for plotting