fix for arrayoutofbounds bug when secondary structure element extends whole width...