Fixed an index out of range error. Modified the LasForm.
Resolved merge conflict.